Add a needs-attention child property to GtkStack
authorPaolo Borelli <pborelli@gnome.org>
Fri, 30 Aug 2013 20:32:42 +0000 (22:32 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 26 Sep 2013 02:34:22 +0000 (22:34 -0400)
commite59c28743ac2a399ecd22360aaf7cbc9c2c72812
tree1ffffdfc757f987b74b32dfc769a392334889e2c
parent8d83d989bb2533d61f0d1fbe2046fdebb3335c6b
Add a needs-attention child property to GtkStack

The child property is watched by the StackSwicther which in turns sets a
needs-attention css class on the corresponding button, so that the theme
can for instance show a throbbing animation if one of the hidden pages
needs the user attention.

https://bugzilla.gnome.org/show_bug.cgi?id=707153
gtk/gtkstack.c
gtk/gtkstackswitcher.c
gtk/gtkstylecontext.h
tests/teststack.c